package com.sicnu.startup.service;

import com.sicnu.startup.entity.News;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zr
 * @since 2022-01-08
 */
public interface NewsService extends IService<News> {
    /**
     * 获取前四条数据
     *
     * @return
     */
    List<News> getNews();

}
